[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FT_MBUTREL()
 Get mouse button release information
------------------------------------------------------------------------------

 Syntax

      FT_MBUTREL( nButton [, @nButRel [, @nX [, @nY] ] ]) -> nBStat

 Arguments

     <nButton> is the mouse button number
               0 - Left   Button
               1 - Right  Button
               2 - Middle Button [if applicable]

    <nButRel> is the number of times the specified button was released
              since the last call to this routine. PASSED BY REFERENCE.

    <nX> is the X position of the cursor when the last release occurred.
              PASSED BY REFERENCE.

    <nY> is the Y position of the cursor when the last release occurred.
              PASSED BY REFERENCE.

 Returns

     <nBStat>  - an integer representing button release status
                 0 - None
                 1 - Left
                 2 - Right
                 3 - Middle

 Description

     This function returns the release status of the mouse buttons and the
     coordinates of the last release.

 Examples

     IF( FT_MBUTREL( 0 ) == 1 )
        ? "Left button released"
     ENDIF

 Source: MOUSE1.PRG

 Author: Leo Letendre

See Also: FT_MBUTPRS() FT_MDBLCLK()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson